﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zypt
{
    public static class ZyData
    {
        public static  double [][]Chn1Data;
        public static  double [][]Chn2Data;
        public static double[][] Chn1Buffer;
        public static double[][] Chn2Buffer;
        public static double[] Position; 
        public static int DataSize;
        public static int BufferSize;
        
        
        public static void Initialize()
        {
            BufferSize =64;
            DataSize = 4000* BufferSize;
            Chn1Data = new double[2][];
            Chn1Data[0] = new double[DataSize];
            Chn1Data[1] = new double[DataSize];
            Chn2Data = new double[2][];
            Chn2Data[0] = new double[DataSize];
            Chn2Data[1] = new double[DataSize];

            Position = new double[DataSize];

            Chn1Buffer = new double[2][];
            Chn1Buffer[0] = new double[BufferSize];
            Chn1Buffer[1] = new double[BufferSize];
            Chn2Buffer = new double[2][];
            Chn2Buffer[0] = new double[BufferSize];
            Chn2Buffer[1] = new double[BufferSize];
            


        }
     }

}
